package com.csii.activiti.server.core.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.csii.activiti.server.core.entity.ActBatchDelegateTask;
import com.csii.activiti.server.core.entity.ActBatchOperation;
import com.csii.activiti.server.core.entity.ActFlowTodo;
import com.csii.activiti.server.core.query.QueryActFlowTask;

public interface FlowManagementService {

    /**
     * 查询待办
     * @param queryActFlowTask
     * @return Page<ActFlowTodo>
     */
    Page<ActFlowTodo> queryTaskList(QueryActFlowTask queryActFlowTask, Page page);

    /**
     * 批量处理-同意
     * @return
     * @param actBatchOperation
     */

    void batchCompleteTask(ActBatchOperation actBatchOperation);

    /**
     * 批量处理-转交
     * @return
     */
    void batchDelegateTask(ActBatchDelegateTask batchDelegateTask);

    /**
     * 批量处理-驳回
     * @return
     * @param actBatchOperation
     */
    void batchBackTask(ActBatchOperation actBatchOperation);


}
